From: Nilesh Patra Date: Mon, 28 Apr 2025 18:16:30 +0000 (+0100) Subject: Manually pass in -latomic on armel to fix FTBFS X-Git-Tag: archive/raspbian/1.1.7-2+rpi1^2~2 X-Git-Url: https://dgit.raspbian.org/%22http://www.example.com/cgi/%22/%22http:/www.example.com/cgi/%22?a=commitdiff_plain;h=713b41cda09afea727779e3628dbd19ae0580bbe;p=r-cran-s2.git Manually pass in -latomic on armel to fix FTBFS Last-Update: 2021-10-05 Gbp-Pq: Name fix-armel-ftbfs.patch --- diff --git a/src/Makevars.in b/src/Makevars.in index e6227cc..1ce1490 100644 --- a/src/Makevars.in +++ b/src/Makevars.in @@ -4,6 +4,10 @@ PKG_CXXFLAGS = @cflags@ -pthread CXX_STD = CXX14 +ifneq (,$(filter $(DEB_HOST_ARCH),armel mipsel riscv64 m68k powerpc)) +PKG_LIBS += -latomic +endif + ABSL_LIBS = absl/base/internal/cycleclock.o \ absl/base/internal/low_level_alloc.o \ absl/base/internal/raw_logging.o \